<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
  <meta content="webkit" name="renderer">
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link href="<%= BASE_URL %>favicon.ico" rel="icon">
  <title><%= webpackConfig.name %></title>
  <!--[if lt IE 11]>
  <script>window.location.href = '/html/ie.html';</script><![endif]-->
  <style>
    html,
    body,
    #app {
      height: 100%;
      margin: 0px;
      padding: 0px;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }

    .chromeframe {
      margin: 0.2em 0;
      background: #ccc;
      color: #000;
      padding: 0.2em 0;
    }

    #loader-wrapper {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 999999;
      background-color: #ffffff;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    /* 简约加载器 */
    #loader {
      width: 50px;
      height: 50px;
      margin-bottom: 20px;
      position: relative;
    }

    .circle {
      width: 100%;
      height: 100%;
      position: absolute;
      border: 3px solid transparent;
      border-radius: 50%;
      border-top-color: #3498db;
      animation: spin 1.2s linear infinite;
    }

    .circle-inner {
      width: 70%;
      height: 70%;
      top: 15%;
      left: 15%;
      position: absolute;
      border: 3px solid transparent;
      border-radius: 50%;
      border-top-color: #e74c3c;
      animation: spin 1.5s linear reverse infinite;
    }

    .circle-center {
      width: 40%;
      height: 40%;
      top: 30%;
      left: 30%;
      position: absolute;
      border: 3px solid transparent;
      border-radius: 50%;
      border-top-color: #f9c922;
      animation: spin 1.8s linear infinite;
    }

    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }

    /* 简约加载条 */
    .loading-bar {
      width: 200px;
      height: 4px;
      background-color: #f0f0f0;
      border-radius: 2px;
      margin-bottom: 30px;
      overflow: hidden;
    }

    .loading-bar-progress {
      height: 100%;
      width: 0%;
      background-color: #3498db;
      border-radius: 2px;
      animation: loading 2s ease-in-out infinite;
    }

    @keyframes loading {
      0% {
        width: 0%;
      }
      50% {
        width: 100%;
      }
      100% {
        width: 0%;
      }
    }

    /* 分隔区域 */
    #loader-wrapper .loader-section {
      position: fixed;
      top: 0;
      width: 51%;
      height: 100%;
      background-color: #ffffff;
      z-index: 1000;
    }

    #loader-wrapper .loader-section.section-left {
      left: 0;
    }

    #loader-wrapper .loader-section.section-right {
      right: 0;
    }

    .loaded #loader-wrapper .loader-section.section-left {
      transform: translateX(-100%);
      transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    }

    .loaded #loader-wrapper .loader-section.section-right {
      transform: translateX(100%);
      transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    }

    .loaded #loader {
      opacity: 0;
      transition: all 0.3s ease-out;
    }

    .loaded #loader-wrapper {
      visibility: hidden;
      transform: translateY(-100%);
      transition: all 0.3s 1s ease-out;
    }

    .no-js #loader-wrapper {
      display: none;
    }

    /* 简约加载文字 */
    #loader-wrapper .load_title {
      color: #333;
      font-size: 14px;
      letter-spacing: 1px;
      font-weight: 500;
      text-align: center;
      animation: fade 1.5s ease-in-out infinite;
    }

    @keyframes fade {
      0%, 100% {
        opacity: 0.5;
      }
      50% {
        opacity: 1;
      }
    }
  </style>
</head>
<body>
<div id="app">
  <div id="loader-wrapper">
    <div id="loader">
      <div class="circle"></div>
      <div class="circle-inner"></div>
      <div class="circle-center"></div>
    </div>
    <div class="loading-bar">
      <div class="loading-bar-progress"></div>
    </div>
    <div class="load_title">正在加载，请稍候...</div>
    <div class="loader-section section-left"></div>
    <div class="loader-section section-right"></div>
  </div>
</div>
</body>
</html>
